﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entitys;
using Menfram.DAL.Reflection;
using Menfram.Entity.Interface;

namespace Entitys
{

    [Table(TableName = "alunos", SequenceName = "id", KeyName = "id")]
    public class Aluno : IEntity
    {
        [Field(FieldName = "id")]
        public int? Sequencial { get; set; }

        public String Nome { get; set; }

        public String Endereco { get; set; }

        #region IEntity Members
        [NoField]
        public string Key
        {
            get { return "id"; }
        }

        [NoField]
        public string DescriptionComboBox
        {
            get { return "id"; }
        }

        #endregion
    }
}
